package space.nyuki.mongotest.dao;

import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;
import space.nyuki.mongotest.pojo.User;

import java.util.List;

/**
 * @author ning
 * @createTime 2019/7/31 上午11:00
 * @description
 */
@Repository
public interface UserDao extends MongoRepository<User,String> {
    User findByFirstName(String firstName);

}